<layout name="layout" /> 
<div id="category">
	<div class="row">
		<div class="col-md-12">
			<table id="sample-table-1" class="table table-striped table-bordered table-hover">
				<thead>
					<tr>
						<div class="row">
							<th class="col-md-1">ID</th>
							<th class="col-md-4">标题</th>
							<th class="col-md-4">别名</th>
							<th class="col-md-3">操作</th>
						</div>
					</tr>
				</thead>

				<tbody>
					<foreach name="page" item="v">
					<tr >
						
						<td><a href="">{$v.id}</a></td>
						<td class="hidden-xs hidden-sm">{$v.name}</td>
						<td class="hidden-xs hidden-sm">{$v.slug}</td>
						<td>
							<div class="btn-group">
								<a href="__CONTROLLER__/edit?id={$v.id}" title="编辑" class="btn btn-xs btn-info">
									<i class="ace-icon fa fa-pencil bigger-120"></i>
								</a>
								<a href="__CONTROLLER__/del?id={$v.id}" title="删除" class="btn btn-xs btn-danger">
									<i class="ace-icon fa fa-trash-o bigger-120"></i>
								</a>
								<a href="__MODULE__/Menu/add?page_id={$v.id}" title="添加至菜单" class="btn btn-xs btn-success">
									<i class="ace-icon fa fa-plus bigger-120"></i>
								</a>								
							</div>

						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			
		</div>
	</div>

</div>